package com.css.fxfzypg.modules.auxiliaryDecisionManage.auxiliaryDecision.service;

import com.css.fxfzypg.modules.auxiliaryDecisionManage.auxiliaryDecision.entity.AuxiliaryDecision;
import com.css.fxfzypg.modules.auxiliaryDecisionManage.auxiliaryDecision.entity.DisasterScenario;
import com.css.fxfzypg.modules.auxiliaryDecisionManage.auxiliaryDecision.entity.EmergencyResponse;
import com.css.fxfzypg.modules.auxiliaryDecisionManage.auxiliaryDecision.param.AuxiliaryDecisionParam;
import com.css.fxfzypg.modules.similitudeAnalyse.entity.RealEarthquakeEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface AuxiliaryDecisionService {
    void writeData(RealEarthquakeEntity realList);

    Map<String, Object> getPage(int curPage, int pageSize, AuxiliaryDecisionParam param);

    void updateErcmEntityById(AuxiliaryDecision param);

    void updateDisasterSceneById(AuxiliaryDecision param);

    AuxiliaryDecision findById(String id);

    Map<String,Object> createReport(String id,String attachId) throws Exception;

    void downloadReport(String reportId, HttpServletResponse res);

    Map<String, Object> getReport(String id);

    DisasterScenario getDisasterScenario(String id);

    EmergencyResponse getEmergencyResponse(String id);
}
